function getList(){
	var p=getQ()
	var id=p.id
	jQuery.ajax({
		"url":"/get_expandstudent/",
		"error":errorAjax,
		"beforeSend":start_load_pic,
		"complete":stop_load_pic,
		"data":{"id":id},
		"dataType":"jsonp",
		"success":function(data){
			if(!data.status){
				showErrorInfo(data.content);
				return false;
			}
			else{
				var tab=document.getElementById("tab");
				data=data.content;
				for(var i=0;i<data.length;i++){
					var tr=document.createElement("tr")
					var td=document.createElement("td")
					td.textContent=data[i].student_username;
					tr.appendChild(td);
					
					var td=document.createElement("td")
					td.textContent=data[i].student_chinesename;
					tr.appendChild(td);
					
					var td=document.createElement("td")
					td.textContent=data[i].complete_status;
					tr.appendChild(td);
					
					var td=document.createElement("td")
					td.textContent=data[i].score;
					tr.appendChild(td);
					
					var td=document.createElement("td")
					var btn=document.createElement("button")
					btn.className="btn btn-primary btn-sm"
					btn.textContent="查看"
					btn.setAttribute("url",data[i].pic)
					td.style.cursor="pointer";
					btn.onclick=function(){
						var url=this.getAttribute("url")
        					window.open (url, "_blank", "height=700, width=1100, top=160, left=200, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no");
					}
					td.appendChild(btn)
					tr.appendChild(td);
					
					var td=document.createElement("td")
					var btn=document.createElement("button")
					btn.className="btn btn-sm btn-success"
					btn.setAttribute("sid",data[i].id)
					btn.setAttribute("comment",data[i].comment)
					btn.textContent="评价"
					btn.onclick=function(){
						var id=this.getAttribute("sid")
						var comment=this.getAttribute("comment")
        					window.open ("comment.html?type=exp&id="+id+"&comment="+comment, "_blank", "height=700, width=1100, top=160, left=200, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no");
		
					}
					
					td.appendChild(btn);
					tr.appendChild(td);
					tab.appendChild(tr)
					
				}
			}
		}
	})
}
getList()
